IPersistMessage : IUnknown

The IPersistMessage interface is implemented by form objects to save, initialize, and load messages to and from forms. IPersistMessage works similarly to the OLE IPersistStorage interface; for more information on the IPersistStorage methods, and on working with storage objects in general, see the OLE Programmer s Reference.

Quick Info

Header file:

MAPIFORM.H

Exposed by:

Persist message objects

Implemented by:

Form objects

Called by:

Form viewers

Corresponding pointer type:

LPPERSISTMESSAGE

 

Vtable Order 

GetLastError4JW.43

Returns a MAPIERROR structure containing information about the last error that occurred in a form s message object.

GetClassID_2FUA.

Returns a form s message class identifier.

IsDirty9E8G.4E

Checks a form for changes made since the form was last saved.

InitNewGF7_MJ

Provides a form with a base message on which to build a new message.

Load10QIUGK

Loads a form from a specified message.

SaveHHDHE.

Saves a revised form back to the message from which it was loaded or created.

SaveCompletedFB3MHB

Returns a message to a form after a save, submission, or other operation.

HandsOffMessage_ZPA.

Causes a form to release its message object.